<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="../bootstrap-5.1.3-dist/css/bootstrap.css">
    <script src="../bootstrap-5.1.3-dist/js/bootstrap.js"></script>
</head>

<body class="container">
    <h3 align="center">水平排列方式</h3>
    <h5>请选择您要学习的技术：</h5>
    <form>
        <p>只能选择一种的技术：</p>
        <div class="form-check form-check-inline">
            <input class="form-check-input" type="radio" name="fruits" id="fruit1">
            <label class="form-check-label" for="fruit1">
                网站开发技术
            </label>
        </div>
        <div class="form-check form-check-inline">
            <input class="form-check-input" type="radio" name="fruits" id="fruit2">
            <label class="form-check-label" for="fruit2">
                人工智能技术
            </label>
        </div>
        <div class="form-check form-check-inline">
            <input class="form-check-input" type="radio" name="fruits" id="fruit3" disabled>
            <label class="form-check-label" for="fruit3">
                网络安全技术（禁选）
            </label>
        </div>
    </form>
    <form>
        <p class="mt-4">可以多选的技术：</p>
        <div class="form-check form-check-inline">
            <input class="form-check-input" type="checkbox" id="fruit4">
            <label class="form-check-label" for="fruit4">
                网站开发技术
            </label>
        </div>
        <div class="form-check form-check-inline">
            <input class="form-check-input" type="checkbox" value="" id="fruit5">
            <label class="form-check-label" for="fruit5">
                人工智能技术
            </label>
        </div>
        <div class="form-check form-check-inline">
            <input class="form-check-input" type="checkbox" id="fruit6" disabled>
            <label class="form-check-label" for="fruit6">
                网络安全技术（禁选）
            </label>
        </div>
    </form>
</body>


</html>